/**
 * 
 */
package com.lanswon.qzsmk.vo;

import java.io.Serializable;
import java.util.List;

/**
 * @author sun
 *
 */
public class MenuVo implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4032589265526991755L;

	 // 菜单id
    private Integer id;
    // 菜单名称
    private String name;
    // 父菜单id
    private Integer parentId;
    // 菜单url
    private String url;
    // 菜单顺序
    private Integer order;
    // 子菜单
    private List<MenuVo> childMenus;
    //是否选中 0未选  1部分选中  2 全选
    private int selected;
    
    /**
     * 资源类型名称
     */
    private String privilegeTypeName;
    
	public String getPrivilegeTypeName() {
		return privilegeTypeName;
	}
	public void setPrivilegeTypeName(String privilegeTypeName) {
		this.privilegeTypeName = privilegeTypeName;
	}
	public int isSelected() {
		return selected;
	}
	public void setSelected(int selected) {
		this.selected = selected;
	}
	public Integer getOrder() {
		return order;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public List<MenuVo> getChildMenus() {
		return childMenus;
	}
	public void setChildMenus(List<MenuVo> childMenus) {
		this.childMenus = childMenus;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getParentId() {
		return parentId;
	}
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	public void setOrder(Integer order) {
		this.order = order;
	}
	
	@Override
	public String toString() {
		return "MenuVo [id=" + id + ", name=" + name + ", parentId=" + parentId + ", url=" + url + ", order=" + order
				+ ", childMenus=" + childMenus + ", selected=" + selected + "]";
	}

	
}
